package server;

import general.helperclasses.logger.Logger;

import java.io.IOException;

import server.connection.ConnectionHandler;

public class Server extends Thread{

	private final int port;
	private final ConnectionHandler handler;
	
	public Server(int port) throws IOException
	{
		this.port = port;
		handler = new ConnectionHandler(port);
		
	}
	
	@Override
	public void run() {
		while(true)
		{
			Logger.printLast();
		}
	}
}
